package com.ymm.platform.dao.mapper;

import com.ymm.platform.api.constants.dto.LltorderDetailsDTO;
import com.ymm.platform.api.constants.dto.QueryOrderDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Company: CUG
 * @Description: TODO
 * @Author: chencong
 * @Date: 2022-08-13 16:23
 **/
@Mapper
public interface QueryOrderMapper {

    List<LltorderDetailsDTO> listLltorderDetails();

    List<LltorderDetailsDTO> listLltorderDetailsOnP();

    List<LltorderDetailsDTO> listLltorderDetailsOnC();

    List<LltorderDetailsDTO> listLltorderDetailsOnCan();

    LltorderDetailsDTO queryOrderDetailsById(Long orderId);

//    LltorderDetailsDTO updateOrderState(Long tradeId);

    List<LltorderDetailsDTO> queryOrderOnCondition(QueryOrderDTO queryOrder);

    List<LltorderDetailsDTO> queryOrderListByDriverName(String driverName);

    List<LltorderDetailsDTO> queryOrderListByShipperName(String shipperName);


}
